/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 19182
 * Date: 2025-07-16
 * Time: 9:18
 */
public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        try{
           myArrayList.add(1);
           myArrayList.add(2);
           myArrayList.add(3);
           myArrayList.clear();
           myArrayList.display();
        }catch (EmptyListException e){
            e.printStackTrace();
        }catch(PosWrongFulException e){
            e.printStackTrace();
        }


    }
}
